rom 5e7ff518c12de6665bad24650e555b2c3b2304d0 Mon Sep 17 00:00:00 2001
From: Olivier Duchateau <duchateau.olivier@gmail.com>
Date: Sat, 25 Oct 2014 17:43:49 +0000
Subject: [PATCH] Add 'Hidden' option in exo desktop item editori (bug #11249).

--- exo-desktop-item-edit/main.c.orig	2012-12-27 12:50:31 UTC
+++ exo-desktop-item-edit/main.c
@@ -400,6 +400,9 @@
       exo_die_editor_set_terminal (EXO_DIE_EDITOR (editor),
           g_key_file_get_boolean (key_file, G_KEY_FILE_DESKTOP_GROUP,
                                   G_KEY_FILE_DESKTOP_KEY_TERMINAL, NULL));
+      exo_die_editor_set_hidden (EXO_DIE_EDITOR (editor),
+          g_key_file_get_boolean (key_file, G_KEY_FILE_DESKTOP_GROUP,
+                                  G_KEY_FILE_DESKTOP_KEY_HIDDEN, NULL));
       break;
 
     case EXO_DIE_EDITOR_MODE_LINK:
@@ -483,6 +486,9 @@
           g_key_file_set_boolean (key_file, G_KEY_FILE_DESKTOP_GROUP,
                                  G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY,
                                  exo_die_editor_get_snotify (EXO_DIE_EDITOR (editor)));
+          g_key_file_set_boolean (key_file, G_KEY_FILE_DESKTOP_GROUP,
+                                 G_KEY_FILE_DESKTOP_KEY_HIDDEN,
+                                 exo_die_editor_get_hidden (EXO_DIE_EDITOR (editor)));
           break;
 
         case EXO_DIE_EDITOR_MODE_LINK:
